home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 1⁄5⁄90 / 0293-Re MacApp⁄C Trouble -Jan90 < prev    next >
Encoding:
Text File  |  1990-01-02  |  1.3 KB  |  36 lines  |  [TEXT/GEOL]

  1. Item    0036842                         2-Jan-90        12:28
  2.  
  3. From:   MOOF                            Rollin, Keith A
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    RE>MacApp/C Trouble or SE
  8.  
  9. Attn: Beta, Edward Anuff,PRT
  10. SentBy: Keith Rollin
  11. Date   1/2/90
  12. Subject    RE>MacApp/C Trouble or SELF
  13. From   Keith Rollin
  14. To Beta, Edward Anuff,PRT
  15.  
  16.          Reply to:   RE>MacApp/C Trouble or SELF Bu
  17. Brett,
  18.  
  19. It sounds like you ran across a particularly nasty bug in the Pascal compiler.
  20. From your description, it sounds like a problem that occurs when compiling
  21. with the -MC68881 option. When you do this, Pascal dereferences your object
  22. handle into a scratch register (such as A0), and then calls other procedures,
  23. forgetting that the scratch register could get wiped out by those subroutines.
  24. Using SELF explicitly is the workaround for the problem until MPW 3.1 is
  25. available.
  26.  
  27. - Keith Rollin
  28. - Apple Developer Technical Support
  29.  
  30. P.S. Andy would have answered this, but he was particularly miffed that you
  31. spelled his last name "Shevanow" rather than the more correct "Shebanow" (or
  32. the even more correct "Klebanow"). Now we've got to talk him off the roof.
  33. This wasn't so bad in our last building, but we've recently moved into an 8
  34. story affair, and things haven't been too stable after the earthquake...
  35.  
  36.